package com.parktech.sun.domain.service.sunhz.impl;

import com.parktech.sun.domain.model.email.Email;
import com.parktech.sun.domain.repository.sunhz.EmailRepository;
import com.parktech.sun.domain.service.impl.BaseServiceImpl;
import com.parktech.sun.domain.service.sunhz.EmailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by IntelliJ IDEA.
 * User: guo
 * Date: 11-1-12
 * Time: 下午11:56
 * To change this template use File | Settings | File Templates.
 */
@Service("emailService")
public class EmailServiceImpl extends BaseServiceImpl<Email> implements EmailService {
    private EmailRepository emailRepository;

   // public EmailServiceImpl(){}

    @Autowired
    public EmailServiceImpl(EmailRepository emailRepository)
    {
        super(emailRepository);
        this.emailRepository = emailRepository;
    }
}
